postResultAsync

inline suspend fun <T> HttpClient.postResultAsync(urlString: String, noinline block: HttpRequestBuilder.() -> Unit = {}): Deferred<Result<T>>

Executes an asynchronous HTTP POST request using the provided URL.

Return

A Deferred> representing the asynchronous operation.

Parameters

urlString

The URL for the POST request.

block

Optional, allows customization of the request using HttpRequestBuilder.